package com.universityJob.modules.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author mao on 2021/5/13.
 * @version 1.0 maozhijob@163.com
 */
@Data
@TableName("tb_history")
public class DataHistoryEntity implements Serializable {

    /**
     * 最低工资每千
     */
    @TableId(value = "history_id",type = IdType.INPUT)
    private String historyId;
    /**
     * 学号
     */

    private String username;
    /**
     * 姓名
     */
    private String name;

    /**
     * 专业
     */
    private String major;
    /**
     * 性别
     */
    private String gender;
    /**
     * 学院
     */
    private String college;

    /**
     * 学历
     */
    private String education;
    /**
     * 签约单位
     */
    private String contractor;

    /**
     * 签约职位
     */
    private String contractedPosition;
    /**
     * 签约薪资
     */

    private String contractedSalary;
    /**
     * 签约时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date createTime;
}
